Global Index
HTML5 JS API Index > SVG Tutorials & Specs

SVGLinearGradientElement

Extends SVGGradientElement.

Properties
SVGAnimatedLength
x1
The absolute X coordinate for the first control point. Exceptions on settingDOMException, code NO_MODIFICATION_ALLOWED_ERR Raised on an attempt to change the value of a read only attribute.
SVGAnimatedLength
x2
The absolute X coordinate for the second control point. Exceptions on settingDOMException, code NO_MODIFICATION_ALLOWED_ERR Raised on an attempt to change the value of a read only attribute.
SVGAnimatedLength
y1
The absolute Y coordinate for the first control point. Exceptions on settingDOMException, code NO_MODIFICATION_ALLOWED_ERR Raised on an attempt to change the value of a read only attribute.
SVGAnimatedLength
y2
The absolute Y coordinate for the second control point. Exceptions on settingDOMException, code NO_MODIFICATION_ALLOWED_ERR Raised on an attempt to change the value of a read only attribute.